<?php
	
	namespace Aspic\Form\Element;
	
	/**
	* Predefined model for composed form elements
	 * This is a form that act as a single element (and return only one value)
	*/
	 abstract class Composed extends \Aspic\Form\Form implements DataElementInterface {
		
		public function __construct($name, array $options = array(), array $attributes = array()) {
			parent::__construct($name, $options, $attributes);
			
		}
		
		public function getValues(array $arr = null) {
			throw new \ErrorException('Composed element returns only on value by calling getValue()');
		}

	}
	
?>